import { FC } from "react";
import styles from "./QuestionInput.module.scss";
import commonStyles from './common.module.scss'
import { inputPropsType } from "@/types/props";


const QuestionInput: FC<inputPropsType> = ({ fe_id,props }) => {
  const { title, placeholder } = props;

  return (
    <div className={commonStyles.container}>
      <div className={commonStyles.title}>{title}</div>
      <input name={fe_id} className={styles.input} type="text" placeholder={placeholder} />
    </div>
  )
}


export default QuestionInput;